package com.aring.service;

import java.util.List;

import com.aring.bean.BattleInfo;
import com.aring.bean.MatchInfo;
import com.aring.bean.Page;
import com.aring.bean.Place;
import com.aring.bean.PlaceNumber;
import com.aring.bean.ReserveInfo;
import com.aring.bean.School;
import com.aring.bean.TimeTable;
import com.aring.bean.User;

public interface UserService {

	public int register(User user);
	
	public User login(User user);
	
	public int settingInfo(User user);
	
	public User getUserInfo(User user);
	
	public List<School> getSchoolInfo();
		
	public int publicGame(BattleInfo battleInfo);
	
	public List<BattleInfo> getBattleInfoByPage(Page page);

	public List<Place> getPlaces(int schoolId);
	
	public List<PlaceNumber> getPlaceNumbers(int palceId);
	
	public List<TimeTable> getTables(int placeNumberId);
	
	public int reservePalce(ReserveInfo info);
	
	public int updateTimeTableStatus(TimeTable table);
	
	public List<MatchInfo> getMatchInfosByPage(Page page);
	
}
